<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">

  <div class="layui-form-item layui-inline">
    <label class="layui-form-label">{:lang('货架名称')}</label>
    <label class="layui-input-inline">
      <input name="location_code" value="{$get.location_code|default=''}" placeholder="{:lang('货架名称')}" class="layui-input">
    </label>
  </div>

  <div class="layui-form-item layui-inline">
    <input type="hidden" name="type" value="{$type|default='index'}">
    <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
  </div>
</form>